package com.etc.dynamicproxy;

/**
 * @author: knowno
 * @create: 2025-09-22 15:15
 * @Version 1.0
 **/
public interface OrderService {
    public void pay();
}

class  OrderServiceImpl implements  OrderService{
    @Override
    public void pay() {
        try {
            Thread.sleep(3000);
            System.out.println("pay method............");
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }

    }
}

